from app.core.dependencies import SessionDep


class ItemService:
    def __init__(self, session: SessionDep):
        self.session = session

    async def get_item(self, name: str):
        return {
            "name": name,
            "description": "This is a sample item."
        }